package com.dongdongshop.dao.goods_desc_jpa;

import com.dongdongshop.pojo.goods_desc.TbGoodsDesc;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;


public interface GoodsDescJpaDao extends JpaRepository<TbGoodsDesc,Long>{
    @Query(value = "from TbGoodsDesc where goodsId = ?1")
    TbGoodsDesc getGoodDescByGoodsId(Long goodsId);
}
